Lists flash and USB directory information.
Exec mode
The following example lists flash directory information.
device# dir 
config-file : 
-rw-r--r-- 790 2021-04-22 05:50:40 comm9.conf 
-rw-r--r-- 1047 2021-04-17 09:03:27 temp.conf 
-rw-r--r-- 117 2021-04-12 05:54:09 temp2.conf 
-rw-r--r-- 73 2021-04-13 06:14:34 temp3.conf 
-rw-r--r-- 48 2021-04-13 06:18:08 temp4.conf 
-rw-r--r-- 1047 2021-04-17 10:16:18 temp_1618654577.conf 
-rw-r--r-- 1047 2021-04-19 11:47:49 temp_1618832866.conf 
pcap-file : 
-rw-r--r-- 0 2021-06-01 08:03:44 README.md 
tech-support : 
firmware : 
ms-images  : 
drwxr-xr-x  4096  2021-12-16 21:13:24  api-gw          
drwxr-xr-x  4096  2021-12-16 21:13:24  chassis-mgr     
drwxr-xr-x  4096  2021-12-16 21:13:24  cli             
drwxr-xr-x  4096  2021-12-16 21:13:24  config-db       
drwxr-xr-x  4096  2021-12-16 21:13:24  interface-agent 
drwxr-xr-x  4096  2021-12-16 21:13:24  interface-mgr   
drwxr-xr-x  4096  2021-12-16 21:13:24  lacp            
drwxr-xr-x  4096  2021-12-16 21:13:24  lldp            
drwxr-xr-x  4096  2021-12-16 21:13:24  msg-bus         
drwxr-xr-x  4096  2021-12-16 21:13:24  nexthop-agent   
drwxr-xr-x  4096  2021-12-16 21:13:24  packet-mgr      
drwxr-xr-x  4096  2021-12-16 21:13:24  pbd-agent       
drwxr-xr-x  4096  2021-12-16 21:13:24  pcap-agent      
drwxr-xr-x  4096  2021-12-16 21:13:24  persistent-state-db 
drwxr-xr-x  4096  2021-12-16 21:13:24  pipeline-agent  
drwxr-xr-x  4096  2021-12-16 21:13:24  security        
drwxr-xr-x  4096  2021-12-16 21:13:24  sfcs-agent      
drwxr-xr-x  4096  2021-12-16 21:13:24  snmp            
drwxr-xr-x  4096  2021-12-16 21:13:24  state-db        
drwxr-xr-x  4096  2021-12-16 21:13:24  stratum         
drwxr-xr-x  4096  2021-12-16 21:13:24  svcplane-agent  
drwxr-xr-x  4096  2021-12-16 21:13:24  target-proxy-agent
chassis-mgr: 
interface-mgr: 
lacp: 
lldp: 
cli: 
api-gw: 
snmp: 
coredumps: 
-rw------- 273702912 2021-05-28 10:08:07 core.npbcli.PID_13825.SIG_6.16 
22196487 
USB: 
-rw-r--r-- 734 2021-05-11 04:49:58 test 
-rw-r--r-- 734 2021-05-06 18:33:36 test1 
-rw-r--r-- 734 2021-05-14 04:04:07 test123 
-rw-r--r-- 734 2021-05-06 18:24:01 testfile 
device# dir usb:// 
USB:  
-rw-r--r-- 734 2021-05-11 04:49:58 test 
-rw-r--r-- 734 2021-05-06 18:33:36 test1 
-rw-r--r-- 734 2021-05-14 04:04:07 test123 
-rw-r--r-- 734 2021-05-06 18:24:01 testfile